#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>

int main()
{
	printf("The pid of this process is: %d\n", getpid());
	sleep(30);	// 在shell里用ps -ef | grep getpid查看。
	return 0;
}
